Feature: Edit post

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 38.689s

Scenario: Edit a post successfully

Before 0m 1.185s
Given I navigate to page "<URL>" 0m 4.660s
And I enter email "<ADMIN_EMAIL>" 0m 1.293s
And I enter password "<ADMIN_PASSWORD>" 0m 0.572s
And I click on the login button 0m 3.971s
And I wait for 2 seconds 0m 2.456s
When I click on the new post button 0m 0.961s
And I wait for 2 seconds 0m 2.288s
And I write "Post nuevo" in the post title 0m 0.591s
And I publish the new post 0m 1.983s
And I wait for 2 seconds 0m 2.264s
And I return to the posts list 0m 1.549s
And I wait for 2 seconds 0m 2.255s
And I filter posts by status Published 0m 1.234s
And I wait for 2 seconds 0m 2.256s
And I click in the first post in the list 0m 0.322s
When I edit "Post editado" in the post title 0m 0.317s
And I publish the edited post 0m 0.430s
And I wait for 2 seconds 0m 2.249s
And I return to the posts list 0m 0.674s
And I wait for 2 seconds 0m 2.262s
And I filter posts by status Published 0m 0.394s
And I wait for 2 seconds 0m 2.259s
Then I see that the first post in the list has title "Post editado" 0m 0.261s
After 0m 0.003s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "<URL>"
And I enter email "<ADMIN_EMAIL>"
And I enter password "<ADMIN_PASSWORD>"
And I click on the login button
And I wait for 2 seconds
When I click on the new post button
And I wait for 2 seconds
And I write "Post nuevo" in the post title
And I publish the new post
And I wait for 2 seconds
And I return to the posts list
And I wait for 2 seconds
And I filter posts by status Published
And I wait for 2 seconds
And I click in the first post in the list
When I edit "Post editado" in the post title
And I publish the edited post
And I wait for 2 seconds
And I return to the posts list
And I wait for 2 seconds
And I filter posts by status Published
And I wait for 2 seconds
Then I see that the first post in the list has title "Post editado"
After
NO IMAGE AVAILABLE